
<link href="<?php echo base_url($this->config->item('public_admin')."assets/css/main.css"); ?>" rel="stylesheet" type="text/css" />
<div class="header">
    <div class="dl-title"><span class="">管理后台</span></div>
    <div class="dl-log">
		<a class="dl-log-quit" href="<?php echo base_url();?>" target="_blank">前台首页</a>
		<?php
			if(isset($username)){
		?>
	欢迎您，<span class="dl-log-user"><?php echo $username;?></span>
        <a href="<?php echo site_url('account/logout');?>" title="安全注销" class="dl-log-quit">[退出]</a>
		<?php 
		
		}else{
		?>
		欢迎，<span class="dl-log-user">请<a href="<?php echo site_url('account');?>" title="登陆后台" class="dl-log-quit">[登陆]</a></span>
       
		<?php
		
		}
		
		?>
    </div>
   </div>
<div class="content">
    <div class="dl-main-nav">
      <ul id="J_Nav"  class="nav-list ks-clear">

        <li class="nav-item dl-selected"><div class="nav-item-inner nav-home">首页</div></li>
		<li class="nav-item"><div class="nav-item-inner nav-inventory">功能应用</div></li>
		<li class="nav-item"><div class="nav-item-inner nav-inventory">系统</div></li>
        <li class="nav-item"><div class="nav-item-inner nav-inventory">其他</div></li>
      </ul>
    </div>
	
    <ul id="J_NavContent" class="dl-tab-conten">
 
    </ul>
      
</div>
   <!---->
<script>
BUI.use('common/main',function(){
		  
		   $.getJSON('<?php echo site_url("index/menu"); ?>',function(config){
		   
				   new PageUtil.MainPage({
						modulesConfig : config
				  });
		   });
      
    });
</script>
